<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/admin/lib/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="/admin/css/public.css" media="all" />
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body class="childrenBody">
<form class="layui-form linksAdd" method="post" action="/admin/link/store" lay-filter="example">
    <input type="hidden" name="id" id="id">
    <div class="layui-form-item">
        <div class="layui-upload-list linkLogo">
            <img class="layui-upload-img linkLogoImg">
            <input type="hidden" name="logo"  id="logo">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">网站名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input linkName" name="name"  placeholder="请输入网站名称" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">网站链接</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input linkUrl" name="href"  placeholder="请输入网站地址" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">审核状态</label>
        <div class="layui-input-block">
            <input type="checkbox" class="layui-input" id="status" name="status" lay-text="通过|不通过" lay-skin="switch" />
        </div>
    </div>
    <div class="layui-form-item">
        <button class="layui-btn layui-block" lay-filter="addLink" lay-submit>提交</button>
    </div>
</form>
</body>
</html>

<script src="/admin/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/admin/js/link/extend.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>

</script>
